﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
    <title>OSBLE - @ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jquery.contextMenu.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jquery-tooltip.css")" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/Content/jquery-ui-1.8.13.custom.css" />
    <link rel="stylesheet" type="text/css" href="/Content/jquery-ui-timepicker.css" />
    <link rel="shortcut icon" type="text/css" href="/Content/favicon.ico" />
    
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-2.0.1.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.10.3.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.contextMenu.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.ui.position.js")"></script>   
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.cookie.js")"></script>
    
    <script src="@Url.Content("~/Scripts/json2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-2.6.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.collapse.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.easing.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.timepicker.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.tmpl.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.selectboxes.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-tooltip.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Silverlight.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/osble.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/getUtcOffset.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/time.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/moment.min.js")" type="text/javascript"></script>
    @RenderSection("Header", required: false)
    @RenderSection("SubHeader", required: false)
</head>
<body >
    <header>
        <div id="header" >
            <div id="top_bar">
                <div id="top_content">
                        <span class="top_item">
                        @if (ViewBag.CurrentUser != null)
                        {
                            @ViewBag.CurrentUser.FirstName
                            <text> </text>
                            @ViewBag.CurrentUser.LastName
                            
                        }</span>
                        <a href="@Url.Action("Index", "Mail", new { area="" })" title="Mail Messages" class="top_item"><img src="/Content/images/mail.png" alt="Mail" /> (@ViewBag.UnreadMessageCount)</a>
                        <a href="@Url.Action("Profile", "Account", new { area = "" })" title="View Personal Settings" class="top_item"><img src="/Content/images/account.png" alt="Account" /></a>
                    <a href="@Url.Action("Index", "Help", new { area = "" })" title="Help" class="top_item"><img src="@Url.Content("~/Content/images/help_top_menu.png")" alt="Help" /></a>
                    <a href="@Url.Action("LogOff", "Account", new { area = "" })" title="Log Off" class="top_item"><img src="/Content/images/logoff.png" alt="Logoff" /></a>
                </div>
            </div>
            <div id="logo">
                <a href="/"><img src="/Content/images/logo.png" alt="OSBLE Logo" /></a>
            </div>
            <div id="logo_text">
                <a href="/"><img src="/Content/images/logo_text.png" alt="OSBLE" /></a>
            </div>
            <div id="courses">
                @Html.Partial("_CourseList")
            </div>
        </div>
    </header>
    <nav>
        @Html.Partial("_MenuControl")
    </nav>
    <section id="main">
        <div id="content">
            @RenderBody()
        </div>
    </section>
    <footer>
    </footer>
</body>
</html>